using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[Serializable]
public class PickUpComponent : BaseComponent
{
    public bool IsPickupable;//是否被拾取
    public bool IsCanPickUpable;//是否可以拾取
    public BoxCollider triggerCollider;

    public void Restart()
    {
        IsPickupable = false; //默认没有被拾取
        IsCanPickUpable = false; //先默认他是不可以拾取的，如果可以拾取则手动调整
        triggerCollider.enabled = false;
    }

}
